package com.mostromas.ess.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 款式细节图片
 */
@ApiModel(value = "ProductStyle对象",description = "款式细节图片实体类")
@TableName("mr_product_style")
@Data
public class ProductStyle implements Serializable {
    private static final long serialVersionUID = 5231040438941780599L;

    /**
     * 主键，分布式ID
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 对应款式ID
     */
    @ApiModelProperty(value = "款式ID")
    private String productId;

    /**
     * 细节图片
     */
    @ApiModelProperty(value = "细节图片url")
    private String imageUrl;

    /**
     * 细节说明
     */
    @ApiModelProperty(value = "细节说明")
    private String remark;
}
